<?php

namespace haibao\classlibrary\jiepai;

class Config extends \haibao\classlibrary\Config
{

    // 当前APP版本号
    const CURRENT_APP_VERSION = 'CURRENT_APP_VERSION';
    
    const API_CONFIG_HOST = 'API_CONFIG_HOST';

    // 街拍APP加密密钥串
    const JIEPAI_APP_SECRET = 'JIEPAI_APP_SECRET';

    const LAST_SUPPORT_VERSION_452 = 'LAST_SUPPORT_VERSION_452';
    const LAST_SUPPORT_VERSION_451 = 'LAST_SUPPORT_VERSION_451';
    const LAST_SUPPORT_VERSION_450 = 'LAST_SUPPORT_VERSION_450';
    const LAST_SUPPORT_VERSION_440 = 'LAST_SUPPORT_VERSION_440';
    const LAST_SUPPORT_VERSION_430 = 'LAST_SUPPORT_VERSION_430';
    const LAST_SUPPORT_VERSION_420 = 'LAST_SUPPORT_VERSION_420';
    const LAST_SUPPORT_VERSION_410 = 'LAST_SUPPORT_VERSION_410';

    // CDN地址
    const CDN_URL_IMAGE = 'CDN_URL_IMAGE';
    const CDN_URL_AVATAR = 'CDN_URL_AVATAR';

    const AVATAR_UPLOAD_PATH = 'AVATAR_UPLOAD_PATH';

    const IMAGE_UPLOAD_BASE_PATH = 'IMAGE_UPLOAD_BASE_PATH';

    // mp3不同音质文件目录
    const AUDIO_128_DIR = 'AUDIO_128_DIR';
    const AUDIO_192_DIR = 'AUDIO_192_DIR';
    const AUDIO_320_DIR = 'AUDIO_320_DIR';

    // 预设搜索关键词
    const APP_SEARCH_KEYWORDS = 'APP_SEARCH_KEYWORDS';

    // 实时搜人物显示个数
    const APP_SEARCH_FASHIONISTA_LIMIT = 'APP_SEARCH_FASHIONISTA_LIMIT';

    // 不同比例图片的最大宽高
    const MAX_WIDTH_PICTORIAL_TWO_THREE = 'MAX_WIDTH_PICTORIAL_TWO_THREE';
    const MAX_WIDTH_MIXED_TWO_THREE = 'MAX_WIDTH_MIXED_TWO_THREE';
    const MAX_WIDTH_PICTORIAL_THREE_TWO = 'MAX_WIDTH_PICTORIAL_THREE_TWO';
    const MAX_WIDTH_MIXED_THREE_TWO = 'MAX_WIDTH_MIXED_THREE_TWO';
    const MAX_WIDTH_ONE_ONE = 'MAX_WIDTH_ONE_ONE';

    const COLUMN_PICTURE_WIDTH = 'COLUMN_PICTURE_WIDTH';
    const COLUMN_PICTURE_HEIGHT = 'COLUMN_PICTURE_HEIGHT';

    // 标签分类权重
    const FIRST_LEVEL_WEIGHT = 'FIRST_LEVEL_WEIGHT';
    const SECOND_LEVEL_WEIGHT = 'SECOND_LEVEL_WEIGHT';
    const THIRD_LEVEL_WEIGHT = 'THIRD_LEVEL_WEIGHT';
    const FOURTH_LEVEL_WEIGHT = 'FOURTH_LEVEL_WEIGHT';

    // APP每页数量
    const LIST_PAGE_SIZE = 'LIST_PAGE_SIZE';
    // 评论详情页每页数量
    const COMMENTS_PAGE_SIZE = 'COMMENTS_PAGE_SIZE';
    // 底部小图显示文章每页数量
    const LARGE_ARTICLE_PAGE_SIZE = 'LARGE_ARTICLE_PAGE_SIZE';

    // 头条数量
    const HEAD_LINE_LIMIT = 'HEAD_LINE_LIMIT';
    //专题数量
    const TOPIC_LIST_SIZE = 'TOPIC_LIST_SIZE';
    // 达人私照数量
    const FASHIONISTA_PRIVATE_PHOTOS_LIMIT = 'FASHIONISTA_PRIVATE_PHOTOS_LIMIT';
    // 达人排行榜人物数量
    const FASHIONISTA_TOP_LIST_NUM = 'FASHIONISTA_TOP_LIST_NUM';

    // 历史搜索记录
    const APP_SEARCH_HISTORY_LIMIT = 'APP_SEARCH_HISTORY_LIMIT';

    // 赞文章
    const USER_PRAISE_ARTICLE_TYPE = 'USER_PRAISE_ARTICLE_TYPE';
    // 收藏文章
    const USER_COLLECT_ARTICLE_TYPE = 'USER_COLLECT_ARTICLE_TYPE';
    // 赞评论
    const USER_PRAISE_COMMENT_TYPE = 'USER_PRAISE_COMMENT_TYPE';
    // 关注达人
    const USER_FOLLOW_FASHIONISTA_TYPE = 'USER_FOLLOW_FASHIONISTA_TYPE';
    // 赞回复
    const USER_PRAISE_REPLY_TYPE = 'USER_PRAISE_REPLY_TYPE';

    // 达人名录类别结构(v4.2.0)
    const FASHIONISTAS_NAME_LIST = 'FASHIONISTAS_NAME_LIST';

    const TAG_ID = 'TAG_ID';

    // TAG分类
    const TAG_SENSITIVE_WORDS = 'TAG_SENSITIVE_WORDS';
    const TAG_COLUMN_TAGS = 'TAG_COLUMN_TAGS';

    // 潮流栏目ID
    const FASHION_COLUMN_ID = 'FASHION_COLUMN_ID';
    const FASHION_COLUMN_CHILD = 'FASHION_COLUMN_CHILD';

    // 订阅类型标签
    const USER_ACTION_TAG_TYPE = 'USER_ACTION_TAG_TYPE';
    const USER_ACTION_COLUMN_TYPE = 'USER_ACTION_COLUMN_TYPE';

    const TAG_SAME_KEY = 'TAG_SAME_KEY';
    const TAG_PARENT_KEY = 'TAG_PARENT_KEY';
    const TAG_CHILDREN_KEY = 'TAG_CHILDREN_KEY';
    const TAG_SIMILAR_KEY = 'TAG_SIMILAR_KEY';
    const TAG_RELATED_KEY = 'TAG_RELATED_KEY';

    // 计算时间
    const POSE_CACULATE_HOURS = 'POSE_CACULATE_HOURS';
    const POSE_CACULATE_HOURS_LATELY = 'POSE_CACULATE_HOURS_LATELY';

    // 单品集锦分页cursor
    const GOODS_CURSOR_NUM = 'GOODS_CURSOR_NUM';
    // 最多180天
    const GOODS_MAX_DATE_NUM = 'GOODS_MAX_DATE_NUM';

    // 评论时间间隔，seconds
    const COMMENT_TIME_LIMIT = 'COMMENT_TIME_LIMIT';

    // 错误返回码
    const ERROR_CODE_NORMAL = 'ERROR_CODE_NORMAL';        // 正常
    const ERROR_CODE_USER_NOT_LOGIN = 'ERROR_CODE_USER_NOT_LOGIN';    // 用户未登录
    const ERROR_CODE_USER_KICK_OFF = 'ERROR_CODE_USER_KICK_OFF';     // 用户被踢下线
    const ERROR_CODE_SERVER_INTERNAL = 'ERROR_CODE_SERVER_INTERNAL';   // 服务器处理异常错误
    const ERROR_CODE_USER_ALBUM_INCORRECT = 'ERROR_CODE_USER_ALBUM_INCORRECT';   // 用户相册和ID不匹配
    const ERROR_CODE_PARAM_NOT_CORRECT = 'ERROR_CODE_PARAM_NOT_CORRECT';     // 缺少参数
    const ERROR_CODE_USER_ALBUM_NAME_EXIST = 'ERROR_CODE_USER_ALBUM_NAME_EXIST'; // 用户相册名已存在
    const ERROR_CODE_USER_ALBUM_IS_DEFAULT = 'ERROR_CODE_USER_ALBUM_IS_DEFAULT'; // 该相册是默认相册，不可删除
    const ERROR_CODE_USER_ALBUM_NAME_SENSITIVE = 'ERROR_CODE_USER_ALBUM_NAME_SENSITIVE';//用户相册包含敏感词
    const ERROR_CODE_ARTICLE_DELETED = 'ERROR_CODE_ARTICLE_DELETED';   // 该文章已被删除
    const ERROR_CODE_COMMENT_DELETED = 'ERROR_CODE_COMMENT_DELETED';   // 该评论已被删除
    const ERROR_CODE_PICTURE_DELETED = 'ERROR_CODE_PICTURE_DELETED';   // 该图片不存在
    const ERROR_CODE_COMMENT_REPLY_DELETED = 'ERROR_CODE_COMMENT_REPLY_DELETED';     // 该回复已被删除
    const ERROR_CODE_USER_ALREADY_REPORT_COMMENT = 'ERROR_CODE_USER_ALREADY_REPORT_COMMENT';   // 用户已举报过该评论
    const ERROR_CODE_UPDATE_NO_ITEM = 'ERROR_CODE_UPDATE_NO_ITEM';    // 更新用户信息 未填更新项
    const ERROR_CODE_COMMENT_TOO_FAST = 'ERROR_CODE_COMMENT_TOO_FAST';  // 操作太过频繁，请稍后再试
    const ERROR_CODE_COVER_ADVERT_NULL = 'ERROR_CODE_COVER_ADVERT_NULL';     // 封面广告为空
    const ERROR_CODE_USER_BAN_LOGIN = 'ERROR_CODE_USER_BAN_LOGIN';    // 封号
    const ERROR_CODE_USER_BAN_COMMENT = 'ERROR_CODE_USER_BAN_COMMENT';  // 禁言
    const ERROR_CODE_FASHIONISTA_NO_PUBLISH = 'ERROR_CODE_FASHIONISTA_NO_PUBLISH';    // 该人物档案未发布或已删除

    const ERROR_CODE_USER_MOBILE_ILLEGAL = 'ERROR_CODE_USER_MOBILE_ILLEGAL';    // 手机号码格式错误
    const ERROR_CODE_USER_MOBILE_USED = 'ERROR_CODE_USER_MOBILE_USED';    // 手机号码已被使用
    const ERROR_CODE_USER_PASSWORD_ILLEGAL = 'ERROR_CODE_USER_PASSWORD_ILLEGAL';    // 用户密码格式错误
    const ERROR_CODE_USER_SMS_CAPTCHA = 'ERROR_CODE_USER_SMS_CAPTCHA';    // 短信验证码错误
    const ERROR_CODE_USER_NICKNAME_EXIST = 'ERROR_CODE_USER_NICKNAME_EXIST';    // 用户昵称已经存在
    const ERROR_CODE_USER_NICKNAME_FOBIDDEN = 'ERROR_CODE_USER_NICKNAME_FOBIDDEN';    // 禁止注册该昵称
    const ERROR_CODE_USER_LOGIN_ERROR = 'ERROR_CODE_USER_LOGIN_ERROR';    // 手机号或密码错误
    const ERROR_CODE_USER_NOT_REGISTER = 'ERROR_CODE_USER_NOT_REGISTER';    // 手机号尚未注册
    const ERROR_CODE_PARAM_SMSCODE_CORRECT = 'ERROR_CODE_PARAM_SMSCODE_CORRECT';    // 验证码输入错误
    const ERROR_CODE_PARAM_PASSWORD_CONSISTENT = 'ERROR_CODE_PARAM_PASSWORD_CONSISTENT';    // 两次密码输入一致
    const ERROR_CODE_PARAM_OLDPASSWORD_INCORRECT = 'ERROR_CODE_PARAM_OLDPASSWORD_INCORRECT';    // 原始密码输入错误
    const ERROR_CODE_PARAM_CONTAIN_SENSITIVE_WORDS = 'ERROR_CODE_PARAM_CONTAIN_SENSITIVE_WORDS';    // 包含敏感词汇
    const ERROR_CODE_PARAM_SMSCODE_EXPIRE = 'ERROR_CODE_PARAM_SMSCODE_EXPIRE';    // 验证码过期
    const ERROR_CODE_OPTION_TOO_FAST = 'ERROR_CODE_OPTION_TOO_FAST';    // 操作过于频繁，请1个小时后再试

    const NICKNAME_FOBIDDEN_WORD = 'NICKNAME_FOBIDDEN_WORD';  // 禁止注册的用户昵称

    const SCORE_TYPE_A = 'SCORE_TYPE_A';
    const SCORE_TYPE_B = 'SCORE_TYPE_B';
    const SCORE_TYPE_C = 'SCORE_TYPE_C';
    const SCORE_TYPE_D = 'SCORE_TYPE_D';
    const SCORE_TYPE_E = 'SCORE_TYPE_E';

    const DEL_SCORE_TYPE_A = 'DEL_SCORE_TYPE_A';
    const DEL_SCORE_TYPE_B = 'DEL_SCORE_TYPE_B';
    const DEL_SCORE_TYPE_C = 'DEL_SCORE_TYPE_C';
    const DEL_SCORE_TYPE_D = 'DEL_SCORE_TYPE_D';
    const DEL_SCORE_TYPE_E = 'DEL_SCORE_TYPE_E';

    // 记录日志区分类型
    const LOG_CONTENT_TYPE = 'LOG_CONTENT_TYPE';

    // 非法评论分类
    const COMMENT_AUDIT_CATEGORY = 'COMMENT_AUDIT_CATEGORY';

    // 时间类型
    const DATE_TIME_TYPE = 'DATE_TIME_TYPE';

    // 栏目主页的'全部'标签,
    const ALL_TAG_INFO = 'ALL_TAG_INFO';
    // 栏目主页的'素人'标签
    const NONAME_TAG_INFO = 'NONAME_TAG_INFO';

    // 文章详情统计数字边界
    const ARTICLE_STATISTIC_LIMITS = 'ARTICLE_STATISTIC_LIMITS';

    // 壁纸文章类型
    const WALLPAPER_ARTICLE_TYPE = 'WALLPAPER_ARTICLE_TYPE';

    // 间隔时间
    const BANNER_INTERVALS = 'BANNER_INTERVALS';

    // 评审现场
    const JURY_BEST_COMMENT_LIST_NAME = 'JURY_BEST_COMMENT_LIST_NAME';

    // 文章类型
    const ARTICLE_TYPE = 'ARTICLE_TYPE';
    const ARTICLE_KEY_TITLE = 'ARTICLE_KEY_TITLE';

    // redis 缓存时间
    const CACHE_EXPIRE_SECONDS = 'CACHE_EXPIRE_SECONDS';

    // redis key
    const POSE_KEY = 'POSE_KEY';
    const WEEK_WEAR_KEY = 'WEEK_WEAR_KEY';
    const HOT_QUOTATIONS_KEY = 'HOT_QUOTATIONS_KEY';
    const LATELY_POPULAR_KEY = 'LATELY_POPULAR_KEY';
    const ACTIVE_SUBJECTS_KEY = 'ACTIVE_SUBJECTS_KEY';
    const FASHION_NEW_STYLE_KEY = 'FASHION_NEW_STYLE_KEY';
    const COLUMN_ACTIVE_TAG_KEY = 'COLUMN_ACTIVE_TAG_KEY';
    const COLUMN_TAGS_KEY_V420 = 'COLUMN_TAGS_KEY_V420';
    const COLUMN_HOTS_KEY = 'COLUMN_HOTS_KEY';
    const GOODS_CALENDAR_KEY = 'GOODS_CALENDAR_KEY';
    const OPINION_PIONEER_WEEK_KEY = 'OPINION_PIONEER_WEEK_KEY';
    const OPINION_PIONEER_MONTH_KEY = 'OPINION_PIONEER_MONTH_KEY';
    const FASHIONISTA_TOP_THREE_KEY = 'FASHIONISTA_TOP_THREE_KEY';
    const FASHIONISTA_MOST_POPULAR_KEY = 'FASHIONISTA_MOST_POPULAR_KEY';
    const FASHIONISTA_ACTIVE_TAGS_KEY = 'FASHIONISTA_ACTIVE_TAGS_KEY';
    const FASHIONISTA_ALSO_LIKE_KEY = 'FASHIONISTA_ALSO_LIKE_KEY';
    const ADVERTLIST_KEY = 'ADVERTLIST_KEY';
    const HOT_SEARCH_KEY = 'HOT_SEARCH_KEY';
    const USER_ALBUMS_KEY = 'USER_ALBUMS_KEY';
    const ARTICLE_CONTENT_KEY = 'ARTICLE_CONTENT_KEY';
    const ARTICLE_STATISTIC_KEY = 'ARTICLE_STATISTIC_KEY';
    const COLUMN_WALLPAPER_KEY = 'COLUMN_WALLPAPER_KEY';
    const COMMENT_STATISTIC_KEY = 'COMMENT_STATISTIC_KEY';
    const COMMENT_REPLY_STATISTIC_KEY = 'COMMENT_REPLY_STATISTIC_KEY';
    const COLUMN_SCENE_WEAR_KEY = 'COLUMN_SCENE_WEAR_KEY';
    const FASHIONISTA_STATISTIC_KEY = 'FASHIONISTA_STATISTIC_KEY';
    const FASHIONISTA_JIEPAI_KEY = 'FASHIONISTA_JIEPAI_KEY';
    const CACHE_FIRST_KEY = 'CACHE_FIRST_KEY';
    const HEADLINE_ARTICLES_KEY = 'HEADLINE_ARTICLES_KEY';
    const JURY_PEOPLE_COUNT_KEY = 'JURY_PEOPLE_COUNT_KEY';
    const SUBSCRIBE_DATE = 'SUBSCRIBE_DATE';
    
    const WATERMARK_SMALL='WATERMARK_SMALL';
    const WATERMARK_MIDDLE = 'WATERMARK_MIDDLE';
    const WATERMARK_LARGE='WATERMARK_LARGE';
    const WATERMARK_MAX_LARGE='WATERMARK_MAX_LARGE';
}


Config::load(array(
    Config::CURRENT_APP_VERSION => '4.4.0',
    
    Config::API_CONFIG_HOST => 'http://api.localjiepai.com:81',
    //Config::API_CONFIG_HOST => 'https://api.dev.jiepaiapp.com',
    
    
    Config::JIEPAI_APP_SECRET => 'Haibao2016',

    Config::IMAGE_UPLOAD_BASE_PATH => '/uploads/',
    Config::AVATAR_UPLOAD_PATH => '/avatar/',

//    Config::CDN_URL_IMAGE => 'https://c4.haibao.cn/',
    Config::CDN_URL_IMAGE => 'http://static.haibao.cn/',

    Config::CDN_URL_AVATAR => 'https://bbs.haibao.com/uc_server/data/avatar/',

    Config::AUDIO_128_DIR => '/audios/kps_128/',
    Config::AUDIO_192_DIR => '/audios/kps_192/',
    Config::AUDIO_320_DIR => '/audios/kps_320/',

    Config::APP_SEARCH_KEYWORDS => array('哈迪德', '肯豆', 'Jenner', '短裙', 'A字裙', '时装周', '颁奖礼', '手袋', '时尚', '权志龙'),

    //水印尺寸大小
    Config::WATERMARK_SMALL => array('W'=> 104,'H'=> 39,'VALUE'=> '@!watermark_xs'),
    Config::WATERMARK_MIDDLE => array('W'=> 151,'H'=> 57,'VALUE'=> '@!watermark_s'),
    Config::WATERMARK_LARGE => array('W'=> 222,'H'=> 85,'VALUE'=> '@!watermark_m'),
    Config::WATERMARK_MAX_LARGE => array('W'=> 398,'H'=> 148,'VALUE'=> '@!watermark'),
    
    
    Config::APP_SEARCH_FASHIONISTA_LIMIT => 4,

    Config::MAX_WIDTH_PICTORIAL_TWO_THREE => 640,
    Config::MAX_WIDTH_MIXED_TWO_THREE => 750,
    Config::MAX_WIDTH_PICTORIAL_THREE_TWO => 1440,
    Config::MAX_WIDTH_MIXED_THREE_TWO => 750,
    Config::MAX_WIDTH_ONE_ONE => 690,

    Config::COLUMN_PICTURE_WIDTH => 750,
    Config::COLUMN_PICTURE_HEIGHT => 230,

    Config::FIRST_LEVEL_WEIGHT => 13000,
    Config::SECOND_LEVEL_WEIGHT => 12000,
    Config::THIRD_LEVEL_WEIGHT => 11000,
    Config::FOURTH_LEVEL_WEIGHT => 10000,

    Config::LIST_PAGE_SIZE => 10,
    Config::COMMENTS_PAGE_SIZE => 30,
    Config::LARGE_ARTICLE_PAGE_SIZE => 30,

    Config::HEAD_LINE_LIMIT => 6,
    Config::TOPIC_LIST_SIZE => 8,
    Config::FASHIONISTA_PRIVATE_PHOTOS_LIMIT => 9,
    Config::FASHIONISTA_TOP_LIST_NUM => 100,

    Config::APP_SEARCH_HISTORY_LIMIT => 20,

    Config::USER_PRAISE_ARTICLE_TYPE => 1,
    Config::USER_COLLECT_ARTICLE_TYPE => 2,
    Config::USER_PRAISE_COMMENT_TYPE => 3,
    Config::USER_FOLLOW_FASHIONISTA_TYPE => 4,
    Config::USER_PRAISE_REPLY_TYPE => 5,

    Config::FASHIONISTAS_NAME_LIST => array(
        'TypeList' => array(
            array(
                'TypeName' => '身份',
                'Type' => 'role',
                'List' => array(
                    'Name' => '全部', 'TypeID' => 0,
                    'Name' => '明星', 'TypeID' => 10102,
                    'Name' => '博主', 'TypeID' => 10101,
                    'Name' => '时尚圈', 'TypeID' => 89500,
                )
            ),
            array(
                'TypeName' => '地区',
                'Type' => 'area',
                'List' => array(
                    'Name' => '全部', 'TypeID' => 0,
                    'Name' => '欧美', 'TypeID' => 10001,
                    'Name' => '日韩', 'TypeID' => 10002,
                    'Name' => '华语', 'TypeID' => 10000,
                    'Name' => '其他', 'TypeID' => 10003,
                )
            ),
        )
    ),

    Config::TAG_ID => array(
        'EA' => 10001,      // 欧美标签ID
        'JK' => 10002,      // 日韩标签ID
        'CH' => 10000,      // 华语标签ID
        'OTHER' => 10003,       // 其他地区
        'MODEL' => 10100,       // 模特
        'BLOGGER' => 10101,     // 博主
        'STAR' => 10102,        // 明星
        'FASHION' => 89500,     // 时尚圈人士
        'NONAME' => 89502,      // 素人
        'COLUMN_FASHION' => 89788,  // 时尚圈街拍
        'COLUMN_BLOGGER' => 89787,  // 博主街拍
        'COLUMN_STAR' => 89786,     // 明星街拍
    ),

    Config::NONAME_TAG_INFO => array('TagID'=>89502,'Name'=>'素人'),
    Config::TAG_SENSITIVE_WORDS => 14,
    Config::TAG_COLUMN_TAGS => 15,

    Config::FASHION_COLUMN_ID => 2,
    Config::FASHION_COLUMN_CHILD => array(
        'DESIRABLE_COLUMN_ID' => 3,
        'CLOTHING_MODEL_COLUMN_ID' => 4,
        'BEAUTY_COLUMN_ID' => 5,
        'FASHION_GOSSIP_COLUMN_ID' => 6,
        'TREND_COLUMN_ID' => 7,
    ),

    Config::USER_ACTION_TAG_TYPE => 5,
    Config::USER_ACTION_COLUMN_TYPE => 5,

    Config::TAG_SAME_KEY => '=',
    Config::TAG_PARENT_KEY => '<',
    Config::TAG_CHILDREN_KEY => '>',
    Config::TAG_SIMILAR_KEY => '∽',
    Config::TAG_RELATED_KEY => '≈',

    Config::POSE_CACULATE_HOURS => 340,
    Config::POSE_CACULATE_HOURS_LATELY => 168,

    Config::GOODS_CURSOR_NUM => 2,
    Config::GOODS_MAX_DATE_NUM => 180,

    Config::COMMENT_TIME_LIMIT => 10,

    Config::ERROR_CODE_NORMAL => 10000,
    Config::ERROR_CODE_USER_NOT_LOGIN => 19999,
    Config::ERROR_CODE_USER_KICK_OFF => 19998,
    Config::ERROR_CODE_SERVER_INTERNAL => 10001,
    Config::ERROR_CODE_USER_ALBUM_INCORRECT => 10002,
    Config::ERROR_CODE_PARAM_NOT_CORRECT => 10003,
    Config::ERROR_CODE_USER_ALBUM_NAME_EXIST => 10004,
    Config::ERROR_CODE_USER_ALBUM_IS_DEFAULT => 10005,
    Config::ERROR_CODE_ARTICLE_DELETED => 10006,
    Config::ERROR_CODE_COMMENT_DELETED => 10007,
    Config::ERROR_CODE_COMMENT_REPLY_DELETED => 10008,
    Config::ERROR_CODE_USER_ALREADY_REPORT_COMMENT => 10009,
    Config::ERROR_CODE_UPDATE_NO_ITEM => 10010,
    Config::ERROR_CODE_COMMENT_TOO_FAST => 10011,
    Config::ERROR_CODE_COVER_ADVERT_NULL => 10012,
    Config::ERROR_CODE_USER_BAN_LOGIN => 10013,
    Config::ERROR_CODE_USER_BAN_COMMENT => 10014,
    Config::ERROR_CODE_FASHIONISTA_NO_PUBLISH => 10101,
    Config::ERROR_CODE_PICTURE_DELETED => 10015,
    Config::ERROR_CODE_USER_ALBUM_NAME_SENSITIVE => 10016,

    Config::ERROR_CODE_USER_MOBILE_ILLEGAL => 10017,
    Config::ERROR_CODE_USER_MOBILE_USED => 10018,
    Config::ERROR_CODE_USER_PASSWORD_ILLEGAL => 10019,
    Config::ERROR_CODE_USER_SMS_CAPTCHA => 10020,
    Config::ERROR_CODE_USER_NICKNAME_EXIST => 10021,
    Config::ERROR_CODE_USER_NICKNAME_FOBIDDEN => 10022,
    Config::ERROR_CODE_USER_LOGIN_ERROR => 10023,
    Config::ERROR_CODE_USER_NOT_REGISTER => 10024,
    Config::ERROR_CODE_PARAM_SMSCODE_CORRECT => 10025,
    Config::ERROR_CODE_PARAM_PASSWORD_CONSISTENT => 10026,
    Config::ERROR_CODE_PARAM_OLDPASSWORD_INCORRECT => 10027,
    Config::ERROR_CODE_PARAM_CONTAIN_SENSITIVE_WORDS => 10028,
    Config::ERROR_CODE_PARAM_SMSCODE_EXPIRE => 10029,
    Config::ERROR_CODE_OPTION_TOO_FAST => 10030,

    Config::NICKNAME_FOBIDDEN_WORD => array(
        '作者', '文章编辑', '编辑', '主编', '文章作者', '街拍作者', '街拍编辑', '街拍主编', '管理员', '街拍管理员', '时尚博主', '街拍博主', '系统管理员', '海报作者', '海报网作者', '海报网博主', '海报博主', '海报管理员', '海报网管理员', '海报编辑', '海报网编辑', '海报主编', '海报网主编'
    ),

    Config::SCORE_TYPE_A => 1,
    Config::SCORE_TYPE_B => 2,
    Config::SCORE_TYPE_C => 3,
    Config::SCORE_TYPE_D => 4,
    Config::SCORE_TYPE_E => 5,

    Config::DEL_SCORE_TYPE_A => -1,
    Config::DEL_SCORE_TYPE_B => -5,
    Config::DEL_SCORE_TYPE_C => -10,
    Config::DEL_SCORE_TYPE_D => -30,
    Config::DEL_SCORE_TYPE_E => -60,

    Config::LOG_CONTENT_TYPE => array(
        'LOGIN' => 1,
        'LOGOUT' => 2,
        'COLLECT_ARTICLE' => 3,
        'COLLECT_PICTURE' => 4,
        'PRAISE_ARTICLE' => 5,
        'PRAISE_COMMENT' => 6,
        'FOLLOW_STAR' => 7,
        'SHARE_ARTICLE' => 8,
        'UNCOLLECT_ARTICLE' => 9,
        'UNCOLLECT_PICTURE' => 10,
        'UNPRAISE_ARTICLE' => 11,
        'UNPRAISE_COMMENT' => 12,
        'UNFOLLOW_STAR' => 13,
        'BROWSE_ARTICLE' => 14,
        'OPEN_APP' => 15,
        'SEND_ADVICE' => 16,
        'BROWSE_FASHIONISTA' => 17,
        'BROWSE_TOPIC' => 18,
        'BROWSE_TAG' => 19,
        'COMMENT_ARTICLE' => 20,
        'REPLY_COMMENT' => 21,
        'DELETE_COMMENT' => 22,
        'DELETE_REPLY' => 23,
        'REPORT_COMMENT' => 24,
        'REPORT_REPLY' => 25,
        'SHARE_APP' => 26,
        'EVALUATE_APP' => 27,
        'UNCOLLECT_PICTURE_410' => 28,
        'PICTURE_VIEW_STATISTIC' => 29,
        'SUBSCRIBE_COLUMN' => 30,
        'UNSUBSCRIBE_COLUMN' => 31,
        'SUBSCRIBE_TAG' => 32,
        'UNSUBSCRIBE_TAG' => 33,
        'OPEN_JURY_ARTICLE' => 34,
        'POST_JURY_ARTICLE' => 35,
        'OPEN_JURY_BEST_USERS' => 36,
        'PREVIEW_3D_TOUCH_ARTICLE' => 37
    ),

    Config::COMMENT_AUDIT_CATEGORY => array(
        '涉嫌广告', '言论不实', '言论过激', '纠纷举报', '网监违禁', '其他'
    ),

    Config::LAST_SUPPORT_VERSION_452 => '4.5.2',
    Config::LAST_SUPPORT_VERSION_451 => '4.5.1',
    Config::LAST_SUPPORT_VERSION_450 => '4.5.0',
    Config::LAST_SUPPORT_VERSION_440 => '4.4.0',
    Config::LAST_SUPPORT_VERSION_430 => '4.3.0',
    Config::LAST_SUPPORT_VERSION_420 => '4.2.0',
    Config::LAST_SUPPORT_VERSION_410 => '4.1.0',

    Config::DATE_TIME_TYPE => array(
        'ACTIVE_SUBJECT' => 90,     // days
        'ARTICLE_STATISTIC' => 720,     // hours
        'COMMENT_HOT' => 72,    // hours
        'COLUMN_ACTIVE_TAGS' => 14, // days
        'ARTICLE_TAGS' => 240,  // hours
        'FIX_ARTICLE_STATISTIC' => 30,  // days
        'FIX_COMMENT_STATISTIC' => 30,  // days
        'FASHION_NEW_STYLE' => 30,  // days
        'HOT_SEARCH' => 14,     // days
        'LATELY_POPULAR' => 7,  // days
        'PICTORIAL_FIX_DURATION'=>12,//hours
        'MIXED_FIX_DURATION'=>120,//hours
        'POSE_START' => 340,    // hours
        'POSE_END' => 168,      // hours
        'FASHIONISTA_TOP_LINE' => 30,   // days
        'COLUMN_ALL_LINE' => 400,       // days 栏目显示文章时间线
        'COLUMN_ORDER_TYPE_LINE' => 60, // days 栏目按积分排序（60天之内的）
    ),

    Config::ALL_TAG_INFO => array('TagID' => 0, 'Name' => '全部'),

    Config::ARTICLE_STATISTIC_LIMITS => array(
        'BROWSE_MIXED_ARTICLE' => '50000',
        'BROWSE_MIXED_ARTICLE_STRING' => '50,000+',
        'BROWSE_PICTORIAL_ARTICLE' => '50000',
        'BROWSE_PICTORIAL_ARTICLE_STRING' => '5,000+',
        'PRAISE_MIXED_ARTICLE' => '500',
        'PRAISE_MIXED_ARTICLE_STRING' => '500+',
        'PRAISE_PICTORIAL_ARTICLE' => '500',
        'PRAISE_PICTORIAL_ARTICLE_STRING' => '500+'
    ),

    Config::WALLPAPER_ARTICLE_TYPE => 100,

    Config::BANNER_INTERVALS => array('ADVERT' => 3, 'ARTICLE' => 8),

    Config::JURY_BEST_COMMENT_LIST_NAME => '评审现场',

    Config::ARTICLE_TYPE => array(
        'MIXED' => 1,               // 混排
        'PICTORIAL' => 2,           // 画报
        'SPECIAL_COLUMN_1' => 101,    // 一周看点
        'SPECIAL_COLUMN_2' => 102,    // 模范生
        'SPECIAL_COLUMN_3' => 103,    // 下周怎么穿
        'SPECIAL_COLUMN_4' => 104,    // 明星穿什么
        'SPECIAL_COLUMN_5' => 105,    // 种草
        'SPECIAL_COLUMN_6' => 106,    // 花边
        'NINE_CLOCK' => 107,          // 九点
        'JURY_ARTICLE' => 108,        // 街友评审团
    ),
    Config::ARTICLE_KEY_TITLE => array(
        'SPECIAL_COLUMN_1' => '本期',
        'SPECIAL_COLUMN_2' => '',
        'SPECIAL_COLUMN_3' => '本期关键词',
        'SPECIAL_COLUMN_4' => '本期示范',
        'SPECIAL_COLUMN_5_1' => '本期单品',
        'SPECIAL_COLUMN_5_2' => '本期品牌',
        'SPECIAL_COLUMN_6' => '本期话题',
    ),

    Config::CACHE_EXPIRE_SECONDS => 5*60,

    Config::POSE_KEY => 'streetsnap:articles:pose',
    Config::WEEK_WEAR_KEY => 'streetsnap:articles:weekWear',
    Config::HOT_QUOTATIONS_KEY => 'streetsnap:articles:hotQuotations',
    Config::LATELY_POPULAR_KEY => 'streetsnap:tags:latelyPopular',
    Config::ACTIVE_SUBJECTS_KEY => 'streetsnap:tags:activeSubjects',
    Config::FASHION_NEW_STYLE_KEY => 'streetsnap:fashionistas:newStyle',
    Config::COLUMN_ACTIVE_TAG_KEY => 'streetsnap:tags:column:',
    Config::COLUMN_TAGS_KEY_V420 => 'streetsnap:tags:v4.2.0:column:',
    Config::COLUMN_HOTS_KEY => 'streetsnap:hots:column:',
    Config::GOODS_CALENDAR_KEY => 'streetsnap:goods:calendar',
    Config::OPINION_PIONEER_WEEK_KEY => 'streetsnap:users:opinion:week',
    Config::OPINION_PIONEER_MONTH_KEY => 'streetsnap:users:opinion:month',
    Config::FASHIONISTA_TOP_THREE_KEY => 'streetsnap:fashionista:topHeadLine:',
    Config::FASHIONISTA_MOST_POPULAR_KEY => 'streetsnap:fashionista:mostPopular:',
    Config::FASHIONISTA_ACTIVE_TAGS_KEY => 'streetsnap:fashionista:activeTags:',
    Config::FASHIONISTA_ALSO_LIKE_KEY => 'streetsnap:fashionista:alsoLike:',
    Config::ADVERTLIST_KEY => 'streetsnap:advert:list',
    Config::HOT_SEARCH_KEY => 'streetsnap:commons:hotSearch',
    Config::USER_ALBUMS_KEY => 'streetsnap:users:albums:',
    Config::ARTICLE_CONTENT_KEY => 'streetsnap:articles:content:',
    Config::ARTICLE_STATISTIC_KEY => 'streetsnap:articles:statistic:',
    Config::COLUMN_WALLPAPER_KEY => 'streetsnap:wallpaper:column:',
    Config::COMMENT_STATISTIC_KEY => 'streetsnap:comments:statistic:',
    Config::COMMENT_REPLY_STATISTIC_KEY => 'streetsnap:reply:statistic:',
    Config::COLUMN_SCENE_WEAR_KEY => 'streetsnap:sceneWear:column:',
    Config::FASHIONISTA_STATISTIC_KEY => 'streetsnap:fashionista:statistic:',
    Config::FASHIONISTA_JIEPAI_KEY => 'streetsnap:fashionista:jiePai:',
    Config::CACHE_FIRST_KEY => 'streetsnap:cache:',
    Config::HEADLINE_ARTICLES_KEY => 'streetsnap:articles:headline',
    Config::JURY_PEOPLE_COUNT_KEY => 'streetsnap:articles:juryCount:',
    Config::SUBSCRIBE_DATE => 'streetsnap:subscribe:date',
));